package com.ikun.admin.modules.sys.iservice;

import com.ikun.admin.modules.sys.vo.*;
import com.ikun.common.result.Result;
import com.ikun.common.search.PageData;
import com.ikun.common.search.PageResult;

import java.util.List;
import java.util.Set;


public interface IDictAndNoticeService {
    Result<PageResult<NoticeListResultVo>> noticeList(PageData<NoticeListParamVo> pageData);

    Result<NoticeDetailVo> noticeDetail(Long id);

    Result<String> addOrUpdateNotice(NoticeAddOrUpdateVo noticeAddOrUpdateVo);

    Result<String> deleteNotice(Long id);

    Result<PageResult<DictCommonResultVo>> dictList(PageData<DictListParamVo> pageData);

    Result<DictCommonResultVo> dictDetail(Long id);

    Result<String> addOrUpdateDict(DictCommonResultVo dictAddOrUpdateVo);

    Result<String> deleteDict(Long id);

    Result<List<DictCommonResultVo>> selectDictByGroup(String cluster);

    Result<Set<String>> selectClusterList();

    Result<String> updateNoticeStatus(Long id);
}
